//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package test.classify;

public class Girlfriend {
    String name;
    int age;
    private String name1;
    private int age1;

    public Girlfriend() {
    }

    public Girlfriend(String name1, int age1) {
        this.name1 = name1;
        this.age1 = age1;
    }

    public String getName1() {
        return this.name1;
    }

    public void setName1(String name1) {
        this.name1 = name1;
    }

    public int getAge1() {
        return this.age1;
    }

    public void setAge1(int age1) {
        if (age1 >= 18 && age1 <= 70) {
            this.age1 = age1;
        } else {
            System.out.println("输入不合法");
        }

    }

    public void quarrel() {
        System.out.println("你和你的Girlfriend进行了quarrel");
    }
}
